exe1 = test
exe2 = sig
cc=g++
src1= thread.cc
# src2= sig.cc

# .PHONY:all
# all:$(exe1) $(exe2)

$(exe1):$(src1)
	$(cc) -o $@ $^ -std=c++11 -lpthread
# $(exe2):$(src2)
# 	$(cc) -o $@ $^ -std=c++11

.PHONT:clean
clean:
	rm -rf $(exe1) 